-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD][14.0] upgrade_analysis: generate noupdate changes #7
[ADD][14.0] upgrade_analysis: generate noupdate changes #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks !
Just a superficial review for the time being. (just two remarks inline).
I'll take a look in the next days.
""" | ||
self.ensure_one() | ||
connection = self.config_id.get_connection() | ||
remote_record_obj = connection.env["openupgrade.record"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to replace by
remote_record_obj = self._get_remote_model(connection, "record")
so it will work for any remote version. (13- or 14+)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed!
from odoo.tools.translate import _ | ||
|
||
try: | ||
from odoo.addons.openupgrade_records.apriori import renamed_modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you meant : ?
from odoo.addons.openupgrade_scripts.apriori import renamed_modules
https://github.com/grap/openupgrade-framework/blob/14.0/openupgrade_scripts/apriori.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, fixed!
c95eb7a
to
7a5076c
Compare
Hi @StefanRijnhart. thanks a lot for this work. I made a partial review. I checked some result, in the Comparison
propose an optimistic merge so ! kind regards. |
Thanks for the merges! |
No description provided.